package cn.mazexal.exambg.models.converter;

import cn.mazexal.exambg.models.db.ExamQuestionDO;
import cn.mazexal.exambg.models.vo.ExamQuestionVO;
import org.mapstruct.Mapper;

/**
 * User: Mazexal
 * Date: 2025/5/12
 */
@Mapper(componentModel = "spring")
public interface ExamQuestionConverter {

    ExamQuestionVO toView(ExamQuestionDO examQuestionDO);

    ExamQuestionDO toDb(ExamQuestionVO examQuestionVO);
}
